package ssh.shop.service;


import ssh.shop.entity.ReturnEmployee;
import ssh.shop.entity.User;

import java.util.List;

public interface UserService extends BaseService<User> {
    public void save(User user); //用来测试Hibernate环境
    public void update(User user);//更新管理员信息

    //用户登陆，成功返回该User
    public User login(User user);
    public void del(String id);

    List<User> userList();
    User getUserById(String id);
    List<ReturnEmployee> userListB();
    List<Object[]> userListObjec();
    public void queryUser(User user);
    public void saveUser(User user);
    public void delUser(User user);
}
